<div class="header">
    <back-Btn></back-Btn> 签到统计
    <div class="right-btn pd0">
        <select class="datepicker lh30" ng-model="footmark.month" ng-change="footmark.chooseDate()" ng-options="(footmark.year+'-'+item) for item in footmark.dates"></select>
        <a class="more_month"></a>
    </div>
</div>
<div class="pd10 celled">
    <div class="userinfo flex">
        <div class="w30">
            <div class="bg-avtar item-avtar tc fs20"><img err-src="images/404.png" ng-src={{footmark.UserInfo.imgUrl|avtarfilter}} ng-if="footmark.UserInfo.imgUrl">{{(footmark.UserInfo.name| username)}}</div>
        </div>
        <div class="w70">
            <p class="fs20 c0 lh40">{{footmark.UserInfo.name||"未知"}} <span class="fs12">{{footmark.UserInfo.position}}</span></p>
            <p><span class="c-blue fs16">{{footmark.month}}月</span>签到 <span class="c-blue fs16">{{footmark.taskList.count}}</span>天</p>
        </div>
    </div>
</div>
<div class="container pageServe index signpageServe" style="top:145px;">
    <div class="list footmark-list" infinite-scroll='footmark.taskList.nextPage()' infinite-scroll-disabled='footmark.taskList.busy' infinite-scroll-distance='0' infinite-scroll-container='".signpageServe"'>
        <div class="pd10 footmark-item" ng-repeat="item in footmark.taskList.items" ng-class="{mt10:$index!=0}">
            <div class="lh35 flex">{{item.logDate|dateFmt}} <p class="tr" ng-click="footmark.checkPoints(item)"><img style="vertical-align: middle;" src="images/sign_footerB.png" width="25px">足迹</p></div>
            <div class="flex footmark-content lh30" ng-repeat="subitem in item.list">
                <div class="fw w20">{{subitem.logTime}}</div>
                <div class="w80 fs12">
                    <p class="fs16">{{subitem.title}}</p>
                    <p class="c-blue" ng-click="footmark.showPosition(subitem)">{{subitem.address}}</p>
                    <p>{{subitem.remark}}</p>
                    <p class="file" ng-if="subitem.attachment">
                        <img err-src="images/404.png" ng-src={{subitem.attachment|showimg}} width="50px"  ng-click="footmark.goDetail(subitem.attachment)">
                    </p>
                </div>
            </div>
        </div>
        <div ng-show='footmark.taskList.busy' class="tc">{{footmark.taskList.tip}}</div>
    </div>
</div>
<div class="footer fs12">
    <div class="footer-menu flex tc lh80">
        <p class="sign" ng-click="footmark.goIndex()">签到</p>
        <p class="footmark active">足迹</p>
    </div>
</div>